package org.dromara.system.domain.bo;

import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.system.domain.SysUserFriend;

/**
 * 用户好友信息业务对象 sys_user_friend
 *
 * @author Lion Li
 * @date 2025-02-24
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = SysUserFriend.class, reverseConvertGenerate = false)
public class SysUserFriendBo extends BaseEntity {

    /**
     * 用户好友ID
     */
    @NotNull(message = "用户好友ID不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * UID
     */
    @NotNull(message = "UID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long uid;

    /**
     * 用户好友UID
     */
    @NotNull(message = "用户好友UID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long friendUid;

    /**
     * 不让他看我
     */
    private Boolean hideMe;

    /**
     * 不看他
     */
    private Boolean hideFriend;

    /**
     * 备注
     */
    private String remark;

}
